package com.SmartClassroom.system.model.dto.grade;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 成绩更新请求
 *
 * @author baijiayu
 */
@Data
@ApiOperation(value = "成绩更新请求")
public class GradeUpdateRequest implements Serializable {
    /**
     * 成绩ID
     */
    @ApiModelProperty(value = "成绩ID", required = true)
    private Integer gradeId;
    /**
     * 分数
     */
    @ApiModelProperty(value = "分数")
    private BigDecimal score;
    /**
     * 成绩类型：期中/期末/项目/测验
     */
    @ApiModelProperty(value = "成绩类型：期中/期末/项目/测验")
    private String gradeType;
    /**
     * 教师评语
     */
    @ApiModelProperty(value = "教师评语")
    private String comment;

    private static final long serialVersionUID = 1L;
}